const { http } = uni.$u
// 获取菜单
export const area = (data) => http.get('/api/common/area', data)

export const getUserInfo = (params, config = {}) => http.post('/api/user/index', params, config)

export const poster = (params, config = {}) => http.post('/api/poster/index', params, config)

export const getposter = (data) => http.get('/api/poster/getposter', data)

export const getstate = (data) => http.get('/api/many_store/getstate', data)

export const apply = (params, config = {}) => http.post('/api/many_store/apply', params, config)

export const wxLogin = (params, config = {}) => http.post('/api/user/login', params, config)

export const usershare = (data) => http.get('/api/user/usershare', data)

export const postlist = (data) => http.get('/api/user/postlist', data)

export const mine = (data) => http.get('/api/index/mine', data)


	
	